//
//  MLElementButtonItem.m
//  CustomerPo
//
//  Created by molon on 8/12/14.
//  Copyright (c) 2014 molon. All rights reserved.
//

#import "MLElementButtonItem.h"

@implementation MLElementButtonItem

@end

@implementation MLElementButtonItemCombination

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.buttonContentMode = UIViewContentModeScaleAspectFit;
    }
    return self;
}

#pragma mark - setter
- (void)setElements:(NSArray *)elements
{
    _elements = elements;
    
    for (MLElementButtonItem *element in elements) {
        element.combination = self;
    }
}

@end